//
//  AddressBook.m
//  UITableView
//
//  Created by dllo on 16/6/20.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "AddressBook.h"
@implementation AddressBook
-(void)dealloc{
    [_dicOfContact release];
    [super dealloc];
}
-(instancetype)init{
    self = [super init];
    if (self) {
        self.dicOfContact = [[NSMutableDictionary alloc]init];
    }
    return self;
}
-(NSArray<NSString *>*)getGroupNames{
    return [self.dicOfContact.allKeys sortedArrayUsingSelector:@selector(compare:)];
}
@end
